'''
Created on 02/04/2011

@author: lctr30
'''

from core.pemba import Pemba
from debug.log import TYPE

class App(Pemba):
    LOG_DEBUG = TYPE.DEBUG
    LOG_INFO = TYPE.INFO
    LOG_WARN = TYPE.WARN
    LOG_ERROR = TYPE.ERROR
    LOG_CRITICAL = TYPE.CRITICAL

    def __init__(self, log=None):
        Pemba.__init__(self, log)



    def start(self):
        self.DEBUG('debug')
        self.INFO('info')
        self.WARN('warn')
        self.ERROR('error')
        self.CRITICAL('critical')

if __name__ == '__main__':
    app = App()
    app.start()